<template>
  <div class="continer">
    <div class="publish_content">
      <div class="publish_sections">
        <div class="publih_publish">
          <div>举报</div>
          <div @click="close_cloe()"><img src="../assets/closes.png" /></div>
        </div>
        <div class="think_publish">
          <div
            @click="complaint(1)"
            :class="is_selected == 1 ? 'complaint_contents' : ''"
          >
            不良内容
          </div>
          <div
            @click="complaint(2)"
            :class="is_selected == 2 ? 'complaint_contents' : ''"
          >
            恶意用户
          </div>
          <div
            @click="complaint(3)"
            :class="is_selected == 3 ? 'complaint_contents' : ''"
          >
            不良内容
          </div>
          <div
            @click="complaint(4)"
            :class="is_selected == 4 ? 'complaint_contents' : ''"
          >
            恶意用户
          </div>
          <div
            @click="complaint(5)"
            :class="is_selected == 5 ? 'complaint_contents' : ''"
          >
            不良内容
          </div>
          <div
            @click="complaint(6)"
            :class="is_selected == 6 ? 'complaint_contents' : ''"
          >
            恶意用户
          </div>
        </div>
        <div class="publish_imgs">
          <div class="publish_button">举报</div>
        </div>
      </div>
    </div>
    <div class="mask_contet" @click="close_cloe()"></div>
  </div>
</template>
<script>
export default {
  name: "ComplaintReport",
  data: () => ({
    is_selected: 1,
  }),
  methods: {
    close_cloe() {
      this.$emit("closes");
    },
    complaint(vals) {
      this.is_selected = vals;
    },
  },
};
</script>
<style  scoped>
.continer {
  width: 100%;
}
.publish_content {
  width: 15%;
  margin: 0 auto;
  background: #ffffff;
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 99999;
  border-radius: 10px;
  padding-bottom: 12px;
  padding-top: 12px;
}
.publish_sections {
  width: 90%;
  margin: 0 auto;
}
.publih_publish {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 16px;
  font-family: PingFang SC;
  font-weight: bold;
  color: #000000;
}
.think_publish {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
}
.think_publish div {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  font-size: 16px;
  font-family: PingFang SC;
  font-weight: 400;
  color: #373c4c;
  width: 47%;
  line-height: 35px;
  height: 35px;
  margin-bottom: 10px;
}
.complaint_contents {
  background: #f9fafe;
  border: 1px solid #4064e3 !important;
  border-radius: 6px;
  font-size: 16px;
  font-family: PingFang SC;
  font-weight: 500;
  color: #4064e3 !important;
}
.publish_imgs {
  width: 100%;
}
.publish_button {
  background: linear-gradient(161deg, #637fe7, #3659cf);
  border-radius: 22px;
  font-size: 13px;
  font-family: PingFang SC;
  font-weight: 500;
  color: #ffffff;
  line-height: 30px;
  width: 48%;
  margin: 10px auto;
  text-align: center;
  height: 30px;
}
.mask_contet {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(221, 221, 221, 0.6);
}
</style>